package cn.felord.app.mapper;

import cn.felord.app.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2019-04-16
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    /**
     * Query roles by user id set.
     *
     * @param userId the user id
     * @return the set
     */
    Set<String> queryRolesByUserId(String userId);
}
